<extend name="Public:base" />

<block name="body">
<h2>Employees</h2>
<p>All the employees goes here.</p>
<p><strong>Summary:</strong> {$employeesCount} Employees in Total.</p>
<table class="table table-striped table-condensed table-hover">
    <tr>
        <th>#</th>
        <th>Name</th>
        <th>Department</th>
        <th>Title</th>
        <th>Gender</th>
        <th>HireDate</th>
    </th>
    <volist name="employees" id="employee">
    <tr>
        <td>{$employee.emp_no|strtoupper}</td>
        <td><a href="{$employee.emp_no|U='Employee/employee',array('id'=>###)}">{$employee.first_name}.{$employee.last_name}</a></td>
        <td><a href="{$employee.dept_no|U='Department/department',array('id'=>###)}">{$employee.dept_name}</a></td>
        <td><a href="{$employee.title|U='Title/title',array('tn'=>###)}">{$employee.title}</a></td>
        <td>{$employee.gender|strtoupper}</td>
        <td>{$employee.hire_date}</td>
    </tr>
    </volist>
</table>
{$page}
</block>
